package com.valuegroup.smarttodo.data.model;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.NotNull;

import java.io.Serializable;
import java.util.Date;

import org.greenrobot.greendao.annotation.Generated;

/**
 * 总结记录表
 */
@Entity
public class Summarize implements Serializable {
    private static final long serialVersionUID = 5833988185953350L;
    @Id(autoincrement = true)
    private Long id;
    // 标题
    private String title;
    // 类型
    private Integer sumType;
    // 类型值（年：2019；季度：1-4；月度：1-12；周：1-54；日：1-30）
    private Integer sumQuarter;
    private Integer sumYear;
    private Integer sumMonth;
    private Integer sumWeek;
    private Integer sumDay;

    // 完成日期
    private Date finishDate;
    // 是否完成
    private Boolean isFinish;

    @NotNull
    private Date createdDt;
    @NotNull
    private Date updatedDt;
    @NotNull
    private Integer status;
    @Generated(hash = 439915207)
    public Summarize(Long id, String title, Integer sumType, Integer sumQuarter,
            Integer sumYear, Integer sumMonth, Integer sumWeek, Integer sumDay,
            Date finishDate, Boolean isFinish, @NotNull Date createdDt,
            @NotNull Date updatedDt, @NotNull Integer status) {
        this.id = id;
        this.title = title;
        this.sumType = sumType;
        this.sumQuarter = sumQuarter;
        this.sumYear = sumYear;
        this.sumMonth = sumMonth;
        this.sumWeek = sumWeek;
        this.sumDay = sumDay;
        this.finishDate = finishDate;
        this.isFinish = isFinish;
        this.createdDt = createdDt;
        this.updatedDt = updatedDt;
        this.status = status;
    }
    @Generated(hash = 1883066228)
    public Summarize() {
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public String getTitle() {
        return this.title;
    }
    public void setTitle(String title) {
        this.title = title;
    }
    public Integer getSumType() {
        return this.sumType;
    }
    public void setSumType(Integer sumType) {
        this.sumType = sumType;
    }
    public Integer getSumQuarter() {
        return this.sumQuarter;
    }
    public void setSumQuarter(Integer sumQuarter) {
        this.sumQuarter = sumQuarter;
    }
    public Integer getSumYear() {
        return this.sumYear;
    }
    public void setSumYear(Integer sumYear) {
        this.sumYear = sumYear;
    }
    public Integer getSumMonth() {
        return this.sumMonth;
    }
    public void setSumMonth(Integer sumMonth) {
        this.sumMonth = sumMonth;
    }
    public Integer getSumWeek() {
        return this.sumWeek;
    }
    public void setSumWeek(Integer sumWeek) {
        this.sumWeek = sumWeek;
    }
    public Integer getSumDay() {
        return this.sumDay;
    }
    public void setSumDay(Integer sumDay) {
        this.sumDay = sumDay;
    }
    public Date getFinishDate() {
        return this.finishDate;
    }
    public void setFinishDate(Date finishDate) {
        this.finishDate = finishDate;
    }
    public Boolean getIsFinish() {
        return this.isFinish;
    }
    public void setIsFinish(Boolean isFinish) {
        this.isFinish = isFinish;
    }
    public Date getCreatedDt() {
        return this.createdDt;
    }
    public void setCreatedDt(Date createdDt) {
        this.createdDt = createdDt;
    }
    public Date getUpdatedDt() {
        return this.updatedDt;
    }
    public void setUpdatedDt(Date updatedDt) {
        this.updatedDt = updatedDt;
    }
    public Integer getStatus() {
        return this.status;
    }
    public void setStatus(Integer status) {
        this.status = status;
    }

}
